package data;

import java.io.Serializable;

public class UserInfo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int ID;
	private String username;
        private String pwd;
        private String deftbs;
        private String tmptbs;
        private String accStt;
        private String quota;
        private String profile;
        private String role = "null";
	
	public UserInfo(){
		setID(0);
//		setUsername();
	}
	
	public UserInfo(int ID, String usrname, String full, String addr, String pwd){
		this.setID(ID);
		this.setUsername(usrname);
		
                this.setPwd(pwd);
	}
        
        public String getRole(){
            return this.role;
        }
        
        public void setRole(String role){
            this.role = role;
        }
        
        public String getProfile(){
            return this.profile;
        }
        
        public void setProfile(String profile){
            this.profile = profile;
        }
        
        public String getQuota(){
            return this.quota;
        }
        public void setQuota(String quota){
            this.quota = quota;
        }
        public String getAccStatus(){
            return this.accStt;
        }
        public void setAccStatus(String accStt){
            this.accStt = accStt;
        }
        public void setDefTbspace(String tbs){
            this.deftbs = tbs;
        }
        
        public String getDefTbspace(){
            return this.deftbs;
        }
        
        public void setTmpTbspace(String tbs){
            this.tmptbs = tbs;
        }
        
        public String getTmpTbspace(){
            return this.tmptbs;
        }
        
        public void setPwd(String pwd){
            this.pwd = pwd;
        }
        public String getPwd(){
            return this.pwd;
        }
	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

        
}
